package com.woniuxy.microsysserver.mapper;

import com.woniuxy.common.bean.UserBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {


    @Select("select id,user_name as userName,nick_name as nickName,level,wallet,gender,birthday,work,region" +
            ",create_time as createTime,head_img as headImg,phone from user_info where id = #{id}")
    UserBean findById(Long id);
}
